<?php
/**
 * @copyright 
 * @license https://opensource.org/licenses/Apache-2.0
 * @link https://www.gougucms.com
 */

namespace app\admin\validate;
use think\Validate;

class CouponLogValidate extends Validate
{
    protected $rule = [
    'uid' => 'require',
    'coupon_id' => 'require',
    'status' => 'require',
    'delete_time' => 'require',
];

    protected $message = [
    'uid.require' => '用户ID不能为空',
    'coupon_id.require' => '优惠券ID不能为空',
    'status.require' => '状态：1未使用 2已使用 3已过期不能为空',
    'delete_time.require' => '删除时间不能为空',
];
}